<?php
// config 
include ("../config.php");


//page def
//the page title
$title = "Admin Index";


// super parser include
include ($install_dir."/include/s_parse.php");

// dB connection
include ($install_dir."/include/db.php");


//adds the header
include ("$install_dir/include/head.php");

//start page
?>
<body>
<center>
<table class="main_table">
<tr>
<th colspan="2" class="logo"><img src="<?php echo $install_url;?>/images/logo.png" alt="My Personal Cookbook" align="left" /></th>
</tr>
<tr>
<td class="menu">
<?php
//adds menu
include ("$install_dir/include/menu.php");

?>
</td>
<td class="page">
<div class = "title">:. <?php echo $title;?> .:</div>
<div class = "post_text">
<b><a href="<?php echo $install_url;?>/admin/add.php">Add Recipe!</a></b><br />
<b><a href="<?php echo $install_url;?>/admin/edit.php?mode=list">Edit Recipe!</a></b><br />
<b><a href="<?php echo $install_url;?>/admin/del.php?mode=list">Delet Recipe!</a></b><br />
</div>
</td>
</tr>
<tr>
<td colspan="2" class="foot">
<?php
//adds footer
include ("$install_dir/include/footer.php");

?>
</td>
</tr>
</table>
</center>
</body>
</html>
